#!/usr/bin/python3

try:
    meinv = zhaoliying
    f = open("daydayup.txt","w+")
    f.write("sanle python cali\n")
    f.close()
except NameError as e:
    print(e)
    print("please check the name of variable")
except FileNotFoundError:
    print("file is not found,please check the path of file")
else:
    print("OK")